package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.History;
import cn.wolfcode.crm.domain.Paymen;
import cn.wolfcode.crm.query.PaymenQueryObject;

import java.util.List;

public interface PaymenMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Paymen record);

    Paymen selectByPrimaryKey(Long id);

    List<Paymen> selectAll();

    int updateByPrimaryKey(Paymen record);

    int query4Count(PaymenQueryObject qo);

    List<?> query4List(PaymenQueryObject qo);

    void updateStatus(Paymen paymen);

}